<#assign ctxPath = springMacroRequestContext.getContextPath()/>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>日志采集器，查询功能演示</title>
    <link href="${ctxPath}/plugin/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
        body {
            margin-top: 100px;
        }
        .row {
            margin-bottom: 20px;
        }
        select, input[type=checkbox] {
            margin-top: 25px;
            height: 30px;
        }
        .btn {
            margin-top: 25px;
        }
    </style>
</head>
<body>
<div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-2">
        <label for="startTime">开始时间</label>
        <input class="form-control" id="startTime" value="2017-09-09 00:00:00">
    </div>
    <div class="col-md-2">
        <label for="endTime">结束时间</label>
        <input class="form-control" id="endTime" value="2017-09-09 00:00:00">
    </div>
    <div class="col-md-1">
        <select id="condition">
            <option value="invalid">不使用</option>
            <option value="=">=</option>
            <option value="!=">!=</option>
            <option value="like">like</option>
        </select>
    </div>
    <div class="col-md-2">
        <label for="keyWord">关键字</label>
        <input class="form-control" id="keyWord" placeholder="输入关键字">
    </div>

</div>
<div class="row">
    <div class="col-md-6"></div>
    <div class="col-md-1"><button class="btn btn-default" id="queryBtn">查询</button></div>
</div>
<div class="row">
    <div class="col-md-2"></div>
    <div class="col-md-8">
        <div class="panel panel-default">
            <div class="panel-heading">结果集</div>
            <div class="panel-body" id="result">
                无
            </div>
        </div>
    </div>
    <div class="col-md-2"></div>
</div>
<script type="text/javascript">
    var jsBaseUrl = '${ctxPath}';
    console.debug("jsBaseUrl:" + jsBaseUrl);
</script>
<script src="${ctxPath}/plugin/bootstrap-3.3.5/js/jquery-1.11.3.js"></script>
<script src="${ctxPath}/plugin/bootstrap-3.3.5/js/bootstrap.min.js"></script>
<script src="${ctxPath}/js/index.js"></script>
</body>
</html>